<?php 

include_once '../config/ClassLoader.php';
include_once '../classes/EntidadBase.php';

use Doctrine\Common\Annotations\AnnotationReader;

function __autoload($class_name) {
		    include_once '../classes/'. $class_name . '.php';
	}

$entidad = new EntidadBase();
$props   = ReflectUtils::getAllproperties(get_class($entidad));
$reader = new AnnotationReader();
$mapping = array();
		foreach ($props as $prop) {
			$nombre = $prop->getName();
			$mapping[$nombre] =$reader->getPropertyAnnotations($prop);
		}
		
		echo $mapping;

?>